package com.yunxi.sat.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.sat.pojo.SatTestDriveCancelVO;
import com.yunxi.sat.pojo.SatTestDriveCompletelVO;
import com.yunxi.sat.pojo.SatTestDriveDetailVO;
import com.yunxi.sat.pojo.SatTestDriveVO;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SatTestDriveDubboServiceMock implements SatTestDriveDubboService {
    @Override
    public SatTestDriveVO getById(String id) throws Exception {
        return null;
    }

    @Override
    public SatTestDriveDetailVO getInfoById(String id) throws Exception {
        return null;
    }

    @Override
    public SatTestDriveDetailVO testDriveInfo(String customerNo) throws Exception {
        return null;
    }

    @Override
    public String saveOrUpdate(SatTestDriveVO satTestDriveVO, LoginInfo loginInfo) throws Exception {
        return "暂无数据";
    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<SatTestDriveVO> findPageByVO(SatTestDriveVO satTestDriveVO, Integer pageNum, Integer pageSize, LoginInfo loginInfo) throws Exception {
        PageInfo<SatTestDriveVO> pageInfo = new PageInfo<SatTestDriveVO>();
        List list = new ArrayList();
        SatTestDriveVO vo = new SatTestDriveVO();
        vo.setAddress("暂无数据");
        list.add(vo);
        pageInfo.setList(list);
        return pageInfo;
    }

    @Override
    public void removeByListVo(List<SatTestDriveVO> satTestDriveVOList) throws Exception {

    }

    @Override
    public List listByVo(SatTestDriveVO satTestDriveVO, LoginInfo loginInfo) {
        List list = new ArrayList();
        SatTestDriveVO vo = new SatTestDriveVO();
        vo.setAddress("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public String aggreeMent(String partnerCode) throws Exception {
        return "暂无数据";
    }

    @Override
    public void cancelTestDrive(SatTestDriveCancelVO satTestDriveCancelVO) throws Exception {

    }

    @Override
    public void complete(SatTestDriveCompletelVO satTestDriveCompletelVO, String roleCode) throws Exception {

    }

    @Override
    public void begin(SatTestDriveCompletelVO satTestDriveCompletelVO) throws Exception {

    }

    @Override
    public List<SatTestDriveDetailVO> allList(SatTestDriveCompletelVO satTestDriveCompletelVO, LoginInfo loginInfo) throws Exception {
        List list = new ArrayList();
        SatTestDriveDetailVO vo = new SatTestDriveDetailVO();
        vo.setAddress("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public List<Date> testDriveDate(String testDriveExpert, String partnerCode) {
        return null;
    }

    @Override
    public void editDriveTime(SatTestDriveCancelVO satTestDriveCancelVO) throws Exception {

    }

    @Override
    public void pushTestDriveToURM(SatTestDriveVO satTestDriveVO) throws Exception {

    }
}
